package com.peas.platform.module.icims.base.auth.api.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@ApiModel(value = "用户收藏添加")
@Data
public class AddFavoriteVo {

    @ApiModelProperty(value = "权限编码")
    @NotBlank(message = "权限编码不能为空")
    private String code;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "名称")
    @NotBlank(message = "名称不能为空")
    private String name;

    @ApiModelProperty(value = "路径")
    private String path;

}
